from sqlalchemy import Column, Integer, String, DateTime, Boolean
from config.database import Base
from datetime import datetime


class MyGroup(Base):
    __tablename__ = 'group'

    owner = Column(String(100), primary_key=True)
    name = Column(String(100), primary_key=True)
    created_time = Column(String(100))
    updated_time = Column(String(100))
    display_name = Column(String(100))
    manager = Column(String(100))
    contact_email = Column(String(100))
    type = Column(String(100))
    parent_id = Column(String(100))
    is_top_group = Column(Boolean)
    title = Column(String(255))
    key = Column(String(255))
    children = Column(String(255))
    is_enabled = Column(Boolean)
